package com.xy.decorator;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/20 13:21
 * @description
 */
public class StartCoffeeBar {
    public static void main(String[] args) {
        Beverage houseBlend = new HouseBlend();
        System.out.println(houseBlend.cost() + "\t" + houseBlend.description);
        houseBlend = new Mocha(new Mocha(new Soy(new Whip(houseBlend))));
        System.out.println(houseBlend.cost() + "\t" + houseBlend.getDescription());
    }
}
